<?php
include 'class-student.php';
include 'class-teacher.php';
include 'config.php';
$con = new ConfigDB();
$obj=new Student();
$tch=new Teacher();

$tch->teacherEditOwnProfile($_POST['teacher_firstname'],$_POST['teacher_lastname'],$_POST['teacher_email'],$_POST['teacher_tel'],$_POST['teacher_id']);
$obj->studentEditOwnProfile($_POST['student_firstname'],$_POST['student_lastname'],$_POST['student_email'],$_POST['student_tel'],$_POST['student_id']);
?>